<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    // let student =new Object();
    // student.name="liosi"
    // student.height=175
    // student.weight=120
    // student.sayHello =function(){
    //     console.log("hello")

    // }
    // console.log(student.name)
    // console.log(student.height)
    // console.log(student['weight'])
    // student.sayHello();
    let student ={};
    
    student.name="liosi"
    student.height=175
    student.weight=120
    student.sayHello =function(){
        console.log( this.name+ "hello")

    }
    console.log(student.name)
    console.log(student.height)
    console.log(student['weight'])
    student.sayHello();
</script>
</html>
